from django.urls import path
from apps.verifications.views import ImageCodeView, SmsCodeView


urlpatterns = [
    # 判断用户名是否重复
    # 转换器和冒号后面不要空格，最后加上斜杠
    path('image_codes/<uuid:uuid>/', ImageCodeView.as_view()),
    path('sms_codes/<mobile>/', SmsCodeView.as_view()),
]